<template>
  <div class="share_page">
    <content-page>
      <div class="header_back_page" @click="backPage">
        <van-icon name="arrow-left" style="margin-right: 4px" />分享好友
      </div>
      <div class="share_warp1">
        <div class="share_warp1_title">规则说明：</div>
        <div class="share_warp1_desc">
          <div v-html="shareDesc" />
        </div>
      </div>
      <div class="share_data_record">
        <div class="share_data_record_title">分享数据报告:</div>
        <div class="share_room_type" @click="roomRank">房价排名 ></div>
        <div class="share_room_type" @click="roomTrend">房价走势 ></div>
      </div>
    </content-page>
  </div>
</template>

<script>
import contentPage from '../../components/content_page'
export default {
  name: 'Share',
  components: { contentPage },
  data() {
    return {
      shareDesc: '<ul><li>1、分享冰山大数的数据报告到朋友圈或群或好友，每分享一次可以获得1冰币。</li><li>2、分享冰山大数的数据报告到朋友圈或群或好友，每分享一次可以获得1冰币。</li><li >3、分享冰山大数的数据报告到朋友圈或群或好友，每分享一次可以获得1冰币。</li></ul>',
    }
  },
  computed: {},
  created() {
  },
  mounted() {
  },
  methods: {
    backPage() {
      this.$router.back(-1)
    },
    roomRank() {
      this.$toast('房价排名')
    },
    roomTrend() {
      this.$toast('房价趋势')
    },
  },
}
</script>

<style scoped lang="scss">
  @import "../../assets/style/base";
  .share_page{
    .header_back_page{
      padding: pxTorem(20px) 0 pxTorem(20px) pxTorem(20px);
      font-size: pxTorem(32px);
      display: flex;
      align-items: center;
      border-bottom: 1px solid #ffffff;
    }
    .share_warp1{
      .share_warp1_title{
        padding: pxTorem(30px);
        font-size: pxTorem(36px);
      }
      .share_warp1_desc{
        padding: pxTorem(0px) pxTorem(60px);
        font-size: pxTorem(32px)!important;
      }
    }
    .share_data_record{
      padding: pxTorem(30px);
      margin-top: pxTorem(120px);
      .share_data_record_title{
        font-size: pxTorem(36px);
      }
      .share_room_type{
        width: pxTorem(340px);
        line-height: pxTorem(70px);
        height: pxTorem(70px);
        text-align: center;
        margin: pxTorem(40px) 0 pxTorem(0px) pxTorem(40px);
        background-color: #1296db;
        color: #f0f0f0;
        font-size: pxTorem(32px);
        border-radius: pxTorem(10px);
      }
    }
  }

</style>
